WPTravelEngine\Core\Booking\BookingProcess B

Total Complexity 77
Dependencies 13
Dependents 3
Total lines 837
Lines of code 501
Logical lines of code 202
Comment lines 217
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
initialize_legacy_booking_hooks()
B
30 14 139
process_booking()
A
38 9 65
__construct()
A
43 7 49
create_payment()
S
43 5 54
process_gateway_callback()
S
54 5 19
set_order_items()
S
50 4 29
update_coupon_usage()
S
63 4 11
process_customer()
S
53 3 25
is_gateway_callback()
S
76 3 3
is_booking_request()
S
64 3 9
payment_gateway_process()
S
59 2 14
create_booking()
S
54 1 23
maybe_redirect()
S
63 2 10
set_billing_info()
S
65 2 9
send_notification_emails()
S
70 2 6
get_payment_type()
S
82 1 3
validate_form_data()
S
75 1 4
get_payment_method()
S
82 1 3
is_due_payment_request()
S
78 1 3
update_session()
S
78 1 3
update_booking_state()
S
71 1 5
get_booking_ref()
S
78 1 3
get_payment_ref()
S
78 1 3
set_booking_ref()
S
80 1 3
set_payment_ref()
S
80 1 3
is_traveler_information_save_request()
S
78 1 3